import React from 'react';
import { Layout } from 'antd';
import '../scss/layout.css'
import Slider from '../components/slider'
import Header from '../components/header'
import Footer from '../components/footer'
import Route from '../router/route'
const { Content } = Layout;
class MyLayout extends React.Component {

  render() {
    return <Layout className='my_layout_box'>
      <Slider />
      <Layout>
        <Header />
        <Content><Route /></Content>
        <Footer />
      </Layout>
    </Layout>
  }
}
export default MyLayout